Detail view  Back to full view


Wearing something (past tense worn)

The Standard Rules give Inform only a simple model of clothing. A thing can be worn only if it has the either/or property of being 'wearable'. (Typing a sentence like 'Mr Jones wears the Homburg hat.' automatically implies that the hat is wearable, which is why we only seldom need to use the word 'wearable' directly.) There is no checking of how much or how little any actor is wearing, or how incongruous this may appear: nor any distinction between under or over-clothes.

To put on an article of clothing, the actor must be directly carrying it, as enforced by the 'can't wear what's not held rule'.


Typed commands leading to this action

    "wear [something preferably held]"
    "put on [something preferably held]"

Rules controlling this action

    before    doing something in The Captain's Office   
    check        an actor wearing  can't wear what's not clothing rule
    check        an actor wearing  can't wear what's not held rule
    check        an actor wearing  can't wear what's already worn rule
    carry out    an actor wearing  standard wearing rule
    report        (display LibMsg <report player wearing>; ...) [E1]
    report        someone trying wearing   [E1]
    report        an actor wearing  standard report wearing rule


[E1]. Defined in Custom Library Messages by David Fisher